package com.shop.mappers.shop;

import java.util.List;

import com.shop.entity.shop.Category;
import com.shop.entity.shop.CategorySecond;
import com.shop.entity.shop.Product;

public interface Product_mapper {
	
	List<Category> queayCategorys();

	Category queayCategoryByCid(int cid);
	
	List<CategorySecond> queayCategorySecondByCid(int cid);

	CategorySecond queayCategorySecondByCsid(int csid);
	
	List<Product> qreayProducts();

	Product qreayProductByPname(String pname);

	List<Product> qreayProductByCsid(int csid);

}
